package data;


public class RobotData {
	
	public double velocity;
	public double distanceToEnemy;
	public double headingEnemy;
	public double bearing;
	public double robotFrontDistanceToWall;
	public double robotBackDistanceToWall;
	public double robotRightDistanceToWall;
	public double robotLeftDistanceToWall;

	
	public RobotData()
	{
		this.velocity = 0;
		this.distanceToEnemy = 0;
		this.headingEnemy = 0;
		this.bearing = 0;
		this.robotBackDistanceToWall = 0;
		this.robotFrontDistanceToWall = 0;
		this.robotRightDistanceToWall = 0;
		this.robotLeftDistanceToWall = 0;
	}
	
	public RobotData(double velocity,double distanceToEnemy, double headingEnemy, 
					 double bearing, double robotBackDistanceToWall, double robotFrontDistanceToWall, 
					 double robotLeftDistanceToWall, double robotRightDistanceToWall)
	{
		this.velocity = velocity;
		this.distanceToEnemy = distanceToEnemy;
		this.headingEnemy = headingEnemy;
		this.bearing = bearing;
		this.robotBackDistanceToWall = robotBackDistanceToWall;
		this.robotFrontDistanceToWall = robotFrontDistanceToWall;
		this.robotRightDistanceToWall = robotRightDistanceToWall;
		this.robotLeftDistanceToWall = robotLeftDistanceToWall;
	}
	
	public RobotData(RobotData other)
	{
		this.velocity = other.velocity;
		this.distanceToEnemy = other.distanceToEnemy;
		this.headingEnemy = other.headingEnemy;
		this.bearing = other.bearing;
		this.robotBackDistanceToWall = other.robotBackDistanceToWall;
		this.robotFrontDistanceToWall = other.robotFrontDistanceToWall;
		this.robotRightDistanceToWall = other.robotRightDistanceToWall;
		this.robotLeftDistanceToWall = other.robotLeftDistanceToWall;	
	}
}
